package com.ruoyi.project.product.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
@TableName("z_products_file")
public class ProductsFile extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
   @TableId(type = IdType.AUTO)
    private Long productsFileId;

    /** 产品id */

    @Excel(name = "产品id")

    private Long productId;

    /*文件名*/
    private String fileName;

    /** 文件地址 */

    @Excel(name = "文件地址")
    private String fileUrl;

    /** 文件类型 */

    @Excel(name = "文件类型")

    private String fileType;

    /*文件分类*/
    private String productType;

    /*0未删除 2已删除*/
    private String delFlag;

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public void setProductsFileId(Long productsFileId)

    {

        this.productsFileId = productsFileId;

    }



    public Long getProductsFileId()

    {

        return productsFileId;

    }



    public void setProductId(Long productId)

    {

        this.productId = productId;

    }



    public Long getProductId()

    {

        return productId;

    }



    public void setFileUrl(String fileUrl)

    {

        this.fileUrl = fileUrl;

    }



    public String getFileUrl()

    {

        return fileUrl;

    }



    public void setFileType(String fileType)

    {

        this.fileType = fileType;

    }



    public String getFileType()

    {

        return fileType;

    }



    @Override

    public String toString() {

        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)

                .append("productsFileId", getProductsFileId())

                .append("productId", getProductId())

                .append("fileUrl", getFileUrl())

                .append("fileType", getFileType())

                .append("createTime", getCreateTime())

                .append("updateTime", getUpdateTime())

                .toString();

    }

}
